package top.hudk.my.test.test1;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 优惠券核销 入参对象
 *
 * @author HuDongkang
 * @date 2021-12-28 21:10:03
 */
@Data
public class WriteOffParam implements Serializable {

    /**
     * 渠道标识
     */
    private String channel;
    /**
     * 租户ID
     */
    private Long tenantId;
    /**
     * 渠道侧-主订单ID
     */
    private Long channelMainOrderId;
    /**
     * 渠道侧-播单后的子订单ID
     */
    private Long channelSubOrderId;
    /**
     * 租户侧-主订单ID
     */
    private Long spMainOrderId;
    /**
     * 渠道侧-乘客ID
     */
    private Long channelPassengerId;

    /**
     * 渠道侧-乘客手机号
     */
    private String channelPassengerPhone;

    /**
     * 租户侧-乘客ID
     */
    private Long spPassengerId;

    /**
     * 租户侧-乘客手机号
     */
    private String spPassengerPhone;
    /**
     * 第三方-优惠券ID
     */
    private String thirdCouponId;

    /**
     * 内部-优惠券ID
     */
    private Long couponId;
    /**
     * 优惠券模板ID
     */
    private Long couponTemplateId;

    /**
     * 优惠金额（总优惠金额）
     */
    private BigDecimal discountAmount;

    /**
     * 抵扣起步金额
     */
    private BigDecimal discountStartFare;

    /**
     * 抵扣里程金额
     */
    private BigDecimal discountMileageFare;

    /**
     * 抵扣时长金额
     */
    private BigDecimal discountTimeFare;

    /**
     * 抵扣远途金额
     */
    private BigDecimal discountFarMileageFare;
    /**
     * 抵扣等待金额
     */
    private BigDecimal discountWaitFare;
    /**
     * 抵扣取消金额
     */
    private BigDecimal discountCancelFare;
    /**
     * 抵扣附加金额
     */
    private BigDecimal discountAppendFare;

    /**
     * 订单下单时间
     */
    private Date orderTime;

}
